package base.Day04;

public class ContinueDemo
{
    public static void main(String[] args)
    {
        ContinueDemo continueDemo = new ContinueDemo();
        continueDemo.test();
        System.out.println("------------------------");
        continueDemo.test1();
    }

    void test()
    {
        for (int i = 0; i <= 9; i++)
        {
            if (i % 2 == 0)
            {
                continue;
            } else
            {
                System.out.println(i + "*9=" + i * 9);
            }
        }
    }

    void test1()
    {
        for (int i = 0 ; i  <= 10; i++)
        {
            if(i % 2  != 0)
            {
                System.out.println(i+"*9="+i*9);
            }
        }
    }

}